<%@ page import="br.com.qualityempresa.seguranca.RegraAcesso"%>



<div class="fieldcontain ${hasErrors(bean: regraAcessoInstance, field: 'regra', 'error')} required">
	<label for="regra">
		<g:message code="regraAcesso.regra.label" default="Regra" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="regra" from="${regraAcessoInstance.constraints.regra.inList}" required="" value="${regraAcessoInstance?.regra}" valueMessagePrefix="regraAcesso.regra" />
</div>

<div class="fieldcontain ${hasErrors(bean: regraAcessoInstance, field: 'expressao', 'error')} required">
	<label for="expressao">
		<g:message code="regraAcesso.expressao.label" default="Expressao" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="expressao" required="" value="${regraAcessoInstance?.expressao}" />
</div>

<div class="fieldcontain ${hasErrors(bean: regraAcessoInstance, field: 'perfisAcesso', 'error')} ">
	<label for="perfisAcesso">
		<g:message code="regraAcesso.perfisAcesso.label" default="Perfis Acesso" />

	</label>
	<g:select name="perfisAcesso" from="${br.com.qualityempresa.core.Perfil.list()}" multiple="multiple" optionKey="id" size="5" value="${regraAcessoInstance?.perfisAcesso*.id}"
		class="many-to-many" />
</div>

